﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class UserModels : BaseViewModel
    {
        /// <summary>
        /// ID
        /// </summary>		
        [Display(Name = "ID")]
        public Guid? UserID { get; set; }
        /// <summary>
        /// 登陆用户名
        /// </summary>		
        [Display(Name = "登陆用户名")]
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>		
        [Display(Name = "密码")]
        public string Password { get; set; }
        /// <summary>
        /// 考勤类型
        /// </summary>		
        [Display(Name = "考勤类型")]
        public Guid? AttendanceConfigID { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>		
        [Display(Name = "姓名")]
        public string EmployeeName { get; set; }
        /// <summary>
        /// 员工编号
        /// </summary>		
        [Display(Name = "员工编号")]
        public string EmployeeCode { get; set; }
        /// <summary>
        /// 性别
        /// </summary>		
        [Display(Name = "性别")]
        public int? EmployeeSex { get; set; }
        /// <summary>
        /// 部门
        /// </summary>		
        [Display(Name = "部门")]
        public Guid? DepartmentID { get; set; }
        /// <summary>
        /// 角色（职务）
        /// </summary>		
        [Display(Name = "角色（职务）")]
        public Guid? RoleID { get; set; }
        /// <summary>
        /// 固定电话
        /// </summary>		
        [Display(Name = "固定电话")]
        public string Telephone { get; set; }
        /// <summary>
        /// 移动电话
        /// </summary>		
        [Display(Name = "移动电话")]
        public string Mobile { get; set; }
        /// <summary>
        /// 邮件地址
        /// </summary>		
        [Display(Name = "邮件地址")]
        public string Email { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>		
        [Display(Name = "出生日期")]
        public DateTime? Birthday { get; set; }
        /// <summary>
        /// 登陆时间
        /// </summary>		
        [Display(Name = "登陆时间")]
        public DateTime? LoginTime { get; set; }
        /// <summary>
        /// 登陆IP
        /// </summary>		
        [Display(Name = "登陆IP")]
        public string LoginIP { get; set; }
        /// <summary>
        /// 上次登陆时间
        /// </summary>		
        [Display(Name = "上次登陆时间")]
        public DateTime? LastLoginTime { get; set; }
        /// <summary>
        /// 上次登陆IP
        /// </summary>		
        [Display(Name = "上次登陆IP")]
        public string LastLoginIP { get; set; }
        /// <summary>
        /// 状态
        /// </summary>		
        [Display(Name = "状态")]
        public Nullable<byte> Status { get; set; }
        /// <summary>
        /// 排序
        /// </summary>		
        [Display(Name = "排序")]
        public int? Sort { get; set; }

    }
}